//
//  LVQuickPopUpView.h
//  LEVE
//
//  Created by 上官惠阳 on 2017/2/10.
//  Copyright © 2017年 dashuju. All rights reserved.
//

#import <UIKit/UIKit.h>
@class LVSessionModel;

@interface LVSessionQuickAction : NSObject

@property (nonatomic, readonly, copy) NSString            *imageName;
@property (nonatomic, readonly, copy) dispatch_block_t    action;

+ (LVSessionQuickAction *)actionWithImageName:(NSString *)imageName action:(dispatch_block_t)action;
- (id)initWithImageName:(NSString *)imageName action:(dispatch_block_t)action;
@end

@interface LVSessionQuickPopUpView : UIView
- (instancetype)initWithSessionModel:(LVSessionModel *)sessionModel rightAction:(LVSessionQuickAction *)rightAction actions:(NSArray <LVSessionQuickAction *>*)actions;

- (void)showInView:(UIView *)view;
- (void)dismissFromSuperview;
@end
